﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using PWA.PineWS;

namespace PWA
{
    public partial class OrderConfirmation : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string s = (string)Session["suit"];
            string a = (string)Session["acc"];
          
            PineWS.Customer c = (PineWS.Customer)Session["Customer"];
            lblFname.Text = c.CustFirstName;
            lblLname.Text = c.CustLastName;
            lblZip.Text = c.ZipCode;
            lblPhone.Text = c.CustPhone;
            lblAdress.Text = c.CustAddress;
            lblState.Text = c.CustState;
            lblCity.Text = c.CustCity;

            lblOrder.Text = "Your order consists of a" + " " + s + " " +" and" + " " + a + ".";
            
            
            
        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            lblMessage.Text = "Your Order is Submited.";
            Server.Transfer("Default.aspx");
           

        }
    }
}
